namespace YM{
    export function CurrentMilliseconds():number
    {
        return new Date().getTime();
    }

    export function CurrentSeconds():number
    {
        return Number(CurrentMilliseconds() / 1000);
    }
}